package HomeTask3;

import org.testng.Assert;
import org.testng.annotations.Test;

/**
 * Created with IntelliJ IDEA.
 * User: Dmytro
 * Date: 20.06.13
 * Time: 22:26
 * To change this template use File | Settings | File Templates.
 */

public class ASimpleNumber {
    @Test
    public void isSimpleNumber(){
        int number=13;
        for(int i=2;i<=Math.sqrt(number);i++){
            if (number % i == 0)
                Assert.assertTrue(false);
        }
        Assert.assertTrue(true);
    }



}
